<?php
abstract class lb_calendar{

	/**
	 * Format a local time/date according to locale settings
	 *
	 * @author  Omid Mottaghi
	 * @access	public
	 * @param   string  Formatting string
	 * @param   int     Timestamp to format
	 * @return  string  Formatted local time/date according to locale settings
	 */
	abstract public function strftime($format, $timestamp='');
	
	/**
	 * Format a local time/date
	 *
	 * @author  Omid Mottaghi
	 * @access	public
	 * @param   string  Formatting string
	 * @param   int     Timestamp to format
	 * @return  string  Formatted local time/date
	 */
	abstract public function date($format, $timestamp='');
	
	/**
	 * Get Unix timestamp for a date
	 *
	 * @author	Omid Mottaghi
	 * @access	public
	 * @param   int hour
	 * @param   int minute
	 * @param   int second
	 * @param   int month
	 * @param   int day
	 * @param   int year
	 * @param   int is daylight savings time set?
	 * @return  int returned timestamp
	 */
	abstract public function mktime($hour='', $minute='', $second='', $month='', $day='', $year='', $is_dst=-1);
}
?>
